package com.scraper.service;

import java.util.List;

import com.scraper.model.OperationType;
import com.scraper.model.SaleObject;

public interface SaleObjectManager {
	
	void create(SaleObject saleObject);

	SaleObject getSaleOnjectByID(Integer id);

	List<SaleObject> getSaleObjectsList();

	//SaleObject getByid(String name);
	
	List<SaleObject> getSaleObjectsByOperationType(OperationType operationType);

	void delete(SaleObject saleObject);
	
}
